/**
 * Created by abiu on 2016-06-20.
 */
var myReporter = {

    jasmineStarted: function(suiteInfo) {
        console.log(suiteInfo)
    console.log('Running suite with ' + suiteInfo.totalSpecsDefined);
},
//suiteStarted: function(result) {
//
//        console.log('Suite started: ' + result.description + ' whose full description is: ' + result.fullName);
//},
//
//specStarted: function(result) {
//
//        console.log('Spec started: ' + result.description + ' whose full description is: ' + result.fullName);
//},
//
//
//    specDone: function(result) {
//
//        console.log('Spec: ' + result.description + ' was ' + result.status);
//    for(var i = 0; i < result.failedExpectations.length; i++) {
//
//            console.log('Failure: ' + result.failedExpectations[i].message);
//        console.log(result.failedExpectations[i].stack);
//    }
//
//        console.log(result.passedExpectations.length);
//},
//
//    suiteDone: function(result) {console.log('Suite: ' + result.description + ' was ' + result.status);
//        for(var i = 0; i < result.failedExpectations.length; i++) {
//
//                console.log('AfterAll ' + result.failedExpectations[i].message);
//            console.log(result.failedExpectations[i].stack);
//        }
//    },

jasmineDone: function() {
    setTimeout(function(){console.log('done 2s')},2000)
    console.log('Finished suite');
}
};

jasmine.getEnv().addReporter(myReporter);

